package com.dingreading.cloud.web.service;

import com.mybatisflex.core.service.IService;
import com.dingreading.cloud.web.entity.ReadingStudent;

import java.util.List;
import java.util.Map;

/**
 *  服务层。
 *
 * @author Administrator
 * @since 2024-11-14
 */
public interface ReadingStudentService extends IService<ReadingStudent> {

    ReadingStudent haveFullNameAndMob(String corpUid, String uid, String fullName, String mob);

    List<ReadingStudent> getStudentByOpenid(String openid);

    ReadingStudent getStudent(String studentUid);

    long getStudentSignCnt();

    boolean updateStudentImg(String studentUid, String img);

    long haveChannelUid(String channelUid);

    // 获取报名书籍的总数
    Map<String, Long> haveSignStudentBookCnt(List<String> bookNames);

}
